package com.clj.cloud.authorization_server.provider;

import java.util.HashSet;
import java.util.Set;

import com.clj.cloud.authorization_server.entity.Role;
import com.clj.cloud.authorization_server.entity.User;
import com.clj.cloud.common.core.entity.vo.Result;

public class OrganizationProviderFallback implements OrganizationProvider{
	  @Override
	    public Result<User> getUserByUniqueId(String uniqueId) {
	        return Result.success(new User());
	    }

	    @Override
	    public Result<Set<Role>> queryRolesByUserId(String userId) {
	        return Result.success(new HashSet<Role>());
	    }
}
